package week3;

public class SquareRoot extends Exception{
    Double num;

    public SquareRoot(Double num) {
        super("输入错误，不能对负数求平方根");
        this.num = num;
    }
}
